import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/index/index'
import City from '@/pages/city/city'
import Page from '@/pages/test/pagination'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Home
    },
    {
      path: '/city',
      name: 'city',
      component: City
    },
    {
      path: '/pagination',
      name: 'page',
      component: Page
    }
  ]
})
